projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cb52de
)
(Fopen_dribble_file): Check for failure.
author
Karl Heuer
<kwzh@gnu.org>
Sat, 17 Feb 1996 02:32:31 +0000
(
02:32
+0000)
committer
Karl Heuer
<kwzh@gnu.org>
Sat, 17 Feb 1996 02:32:31 +0000
(
02:32
+0000)
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index 209bf9dc7c978251e798de0a8b867224f1cb3828..5787276e554c48476ff4a9f66ae87add30aa6b71 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-6890,6
+6890,8
@@
If FILE is nil, close any open dribble file.")
{
file = Fexpand_file_name (file, Qnil);
dribble = fopen (XSTRING (file)->data, "w");
+ if (dribble == 0)
+ report_file_error ("Opening dribble", Fcons (file, Qnil));
}
return Qnil;
}